package com.shop.mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Date;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shop.entity.Reduction;
import org.apache.ibatis.annotations.Mapper;

/**
 * 满减表
 * <p>
 * 陈炼豪(Reduction)表数据库访问层
 *
 * @author makejava
 * @since 2020-11-25 14:42:07
 */
@Mapper
public interface ReductionMapper extends BaseMapper<Reduction> {

    List<Reduction> getReduction(Reduction reduction);

    int insertSelective(Reduction reduction);

    Integer countByMerchantId(@Param("merchantId")Integer merchantId);

    int updateById(Reduction updated);
















}
